<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>员工列表</title>
</head>
<script type="text/javascript" src="jqueryui/jquery-3.6.0.min.js"></script>
<script type="text/javascript">
/*    var host = window.location.host;
    function change() {
        
        $.ajax({
            url : "http://"+host+"/logout111",
            type : "GET",
        })
    }
    
    function f() {

    }*/

</script>
<body>
    <h1>欢迎：[[${session.loginUser}]]</h1>
    <ul>
        <li th:each="emp:${emps}"> 姓名：[[${emp}]] </li>
    </ul>
    <a href="/logout111">退出</a>
</body>
</html>